<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023-10-19
  Time: 8:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <link rel="stylesheet" href="./static/plugins/bootstrap-3.4.1-dist/css/bootstrap.css">

</head>
<body>

<jsp:include page="header.jsp"/>

<form  action="/Java_web/loginServlet" method="post">
    <div class="container">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
                <form action="/login/" method="post" class="form-signin">

                    <h2 class="form-signin-heading">请登录</h2>
                    <label for="inputEmail" class="sr-only">用户名</label>
                    <input type="text" name="username" id="inputEmail" class="form-control" placeholder="用户名" required autofocus><br>
                    <label for="inputPassword" class="sr-only">密码</label>
                    <input type="password" name="password" id="inputPassword" class="form-control" placeholder="密码" required>
                    <div class="checkbox">
                        <label>
                            <input type="checkbox" value="remember-me"> 记住我
                        </label>
                        <label>
                            <a href="register.jsp">注册</a>
                        </label>
                    </div>
                    <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
                </form>
            </div>
        </div>
    </div>
    <!-- 登录界面结束 -->
    </form>

    <script src="./static/js/jquery-3.6.0.min.js"></script>
    <script src="./static/plugins/bootstrap-3.4.1-dist/js/bootstrap.js"></script>
    <jsp:include page="footer.jsp"/>
</body>
</html>
